In the theory of probability and statistics, a Bernoulli trial is an experiment whose outcome is random and can be either of two possible outcomes, "success" and "failure".
In practice it refers to a single experiment which can have one of two possible outcomes. These events can be phrased into "yes or no" questions:
Therefore success and failure are labels for outcomes, and should not be construed literally. Examples of Bernoulli trials include
Contents |
Independent repeated trials of an experiment with two outcomes only are called Bernoulli trials. Call one of the outcomes success and the other outcome failure. Let be the probability of success in a Bernoulli trial. Then the probability of failure is given by
A binomial experiment consisting of a fixed number of trials, each with a probability of success , is denoted by . The probability of exactly successes in the experiment is given by:
The function for for is called a binomial distribution.
Bernoulli trials may also lead to negative binomial, geometric, and other distributions as well.
Consider the simple experiment where a fair coin is tossed four times. Find the probability that exactly two of the tosses result in heads.
For this experiment, let a heads be defined as a success and a tails as a failure. Because the coin is assumed to be fair, the probability of success is . Thus the probability of failure is given by
Using the equation above, the probability of exactly two tosses out of four total tosses resulting in a heads is given by: